<?php

namespace app\common\enum\settings;

use MyCLabs\Enum\Enum;

/**
 * 网站设置枚举类
 */
class SettingEnum extends Enum
{
    // 商城设置
    const STORE = 'store';
    // 客服设置
    const OTHER = 'other';
    // 上传设置
    const STORAGE = 'storage';
    /**
     * 获取类型值
     */
    public static function data()
    {
        return [
            self::STORE => [
                'value' => self::STORE,
                'describe' => '网站设置',
            ],
            self::OTHER => [
                'value' => self::OTHER,
                'describe' => '其它设置',
            ],
            self::STORAGE => [
                'value' => self::STORAGE,
                'describe' => '上传设置',
            ],
        ];
    }

}